.class Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView$15;
.super Lcom/burstly/lib/util/SafeRunnable;
.source "RewardsView.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;->setOrientations(I)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;

.field final synthetic val$orient:I


# direct methods
.method constructor <init>(Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;Lcom/burstly/lib/component/networkcomponent/burstly/html/IDestroyableActivityLifecycleAware;I)V
    .locals 0
    .parameter
    .parameter "x0"
    .parameter

    .prologue
    .line 712
    iput-object p1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView$15;->this$0:Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;

    iput p3, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView$15;->val$orient:I

    invoke-direct {p0, p2}, Lcom/burstly/lib/util/SafeRunnable;-><init>(Lcom/burstly/lib/component/networkcomponent/burstly/html/IDestroyableActivityLifecycleAware;)V

    return-void
.end method


# virtual methods
.method public doRun()V
    .locals 2

    .prologue
    .line 716
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView$15;->this$0:Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;

    invoke-virtual {v1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;->getContext()Landroid/content/Context;

    move-result-object v0

    .line 717
    .local v0, context:Landroid/content/Context;
    instance-of v1, v0, Landroid/app/Activity;

    if-eqz v1, :cond_0

    .line 718
    check-cast v0, Landroid/app/Activity;

    .end local v0           #context:Landroid/content/Context;
    iget v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView$15;->val$orient:I

    invoke-virtual {v0, v1}, Landroid/app/Activity;->setRequestedOrientation(I)V

    .line 720
    :cond_0
    return-void
.end method
